﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.DomainModel.Sys
{
    /// <summary>
    /// 菜单列模型
    /// </summary>
    public class SysMenuTableCols
    {
        /// <summary>
        /// 字段id
        /// </summary>
        public string FieldId { get; set; } = string.Empty;

        /// <summary>
        /// 公司key
        /// </summary>
        public string CorporationKey { get; set; } = string.Empty;

        /// <summary>
        /// 系统key
        /// </summary>
        public string SystemKey { get; set; } = string.Empty;

        /// <summary>
        /// 菜单id
        /// </summary>
        public string MenuId { get; set; } = string.Empty;

        /// <summary>
        /// 字段类型
        /// </summary>
        public string FieldType { get; set; } = string.Empty;

        /// <summary>
        /// 字段英文名
        /// </summary>
        public string FieldEnName { get; set; } = string.Empty;

        /// <summary>
        /// 字段中文名
        /// </summary>
        public string FieldCnName { get; set; } = string.Empty;

        /// <summary>
        /// 字段宽度
        /// </summary>
        public int FieldWidth { get; set; }

        /// <summary>
        /// 字段固定方向
        /// </summary>
        public string FieldFixed { get; set; } = string.Empty;

        /// <summary>
        /// 字段是否排序
        /// </summary>
        public bool FieldSortable { get; set; }

        /// <summary>
        /// 字段对齐方式
        /// </summary>
        public string FieldAlign { get; set; } = string.Empty;

        /// <summary>
        /// 排序
        /// </summary>
        public int FieldOrderBy { get; set; }

        /// <summary>
        /// 字段插槽
        /// </summary>
        public string FieldSlot { get; set; } = string.Empty ;

        /// <summary>
        /// 规则ID
        /// </summary>
        public string RuleId { get; set; } = string.Empty;

        /// <summary>
        /// 是否显示
        /// </summary>
        public bool IsDisplay { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateUser { get; set; }
    }
}
